import { createApp } from "vue";
import App from "./App.vue";
import ElementPlus from "element-plus";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import router from "@/router";
import "element-plus/dist/index.css";
import "leisure-lib/dist/style/index.less";
import LeisureLib from "leisure-lib";

const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
(<any>window).app = app;
const vm = app.use(ElementPlus).use(LeisureLib).use(router).mount("#app");
